package guiceDI;

import com.google.inject.Inject;
import com.google.inject.name.Named;

/**
 * Created with IntelliJ IDEA.
 * User: belict
 * Date: 12/1/13
 * Time: 11:57 PM
 * To change this template use File | Settings | File Templates.
 */
public class GuiceDemoImpl implements GuiceDemo {
    final GuiceUser user;

    @Inject
    public GuiceDemoImpl(GuiceUser user) {
        this.user = user;
    }

    public GuiceUser getUser() {
        return user;
    }
}
